3.9.27 \(\int \frac {(a+i a \tan (e+f x))^{7/2} (A+B \tan (e+f x))}{(c-i c \tan (e+f x))^{13/2}} \, dx\) [827]

Optimal. Leaf size=208 \[ -\frac {(i A+B) (a+i a \tan (e+f x))^{7/2}}{13 f (c-i c \tan (e+f x))^{13/2}}-\frac {(3 i A-10 B) (a+i a \tan (e+f x))^{7/2}}{143 c f (c-i c \tan (e+f x))^{11/2}}-\frac {2 (3 i A-10 B) (a+i a \tan (e+f x))^{7/2}}{1287 c^2 f (c-i c \tan (e+f x))^{9/2}}-\frac {2 (3 i A-10 B) (a+i a \tan (e+f x))^{7/2}}{9009 c^3 f (c-i c \tan (e+f x))^{7/2}} \]

[Out]

-1/13*(I*A+B)*(a+I*a*tan(f*x+e))^(7/2)/f/(c-I*c*tan(f*x+e))^(13/2)-1/143*(3*I*A-10*B)*(a+I*a*tan(f*x+e))^(7/2)
/c/f/(c-I*c*tan(f*x+e))^(11/2)-2/1287*(3*I*A-10*B)*(a+I*a*tan(f*x+e))^(7/2)/c^2/f/(c-I*c*tan(f*x+e))^(9/2)-2/9
009*(3*I*A-10*B)*(a+I*a*tan(f*x+e))^(7/2)/c^3/f/(c-I*c*tan(f*x+e))^(7/2)

________________________________________________________________________________________

Rubi [A]
time = 0.19, antiderivative size = 208, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 45, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.089, Rules used = {3669, 79, 47, 37} \begin {gather*} -\frac {2 (-10 B+3 i A) (a+i a \tan (e+f x))^{7/2}}{9009 c^3 f (c-i c \tan (e+f x))^{7/2}}-\frac {2 (-10 B+3 i A) (a+i a \tan (e+f x))^{7/2}}{1287 c^2 f (c-i c \tan (e+f x))^{9/2}}-\frac {(-10 B+3 i A) (a+i a \tan (e+f x))^{7/2}}{143 c f (c-i c \tan (e+f x))^{11/2}}-\frac {(B+i A) (a+i a \tan (e+f x))^{7/2}}{13 f (c-i c \tan (e+f x))^{13/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((a + I*a*Tan[e + f*x])^(7/2)*(A + B*Tan[e + f*x]))/(c - I*c*Tan[e + f*x])^(13/2),x]

[Out]

-1/13*((I*A + B)*(a + I*a*Tan[e + f*x])^(7/2))/(f*(c - I*c*Tan[e + f*x])^(13/2)) - (((3*I)*A - 10*B)*(a + I*a*
Tan[e + f*x])^(7/2))/(143*c*f*(c - I*c*Tan[e + f*x])^(11/2)) - (2*((3*I)*A - 10*B)*(a + I*a*Tan[e + f*x])^(7/2
))/(1287*c^2*f*(c - I*c*Tan[e + f*x])^(9/2)) - (2*((3*I)*A - 10*B)*(a + I*a*Tan[e + f*x])^(7/2))/(9009*c^3*f*(
c - I*c*Tan[e + f*x])^(7/2))

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n +
1)/((b*c - a*d)*(m + 1))), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 47

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n + 1
)/((b*c - a*d)*(m + 1))), x] - Dist[d*(Simplify[m + n + 2]/((b*c - a*d)*(m + 1))), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rule 79

Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[(-(b*e - a*f
))*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/(f*(p + 1)*(c*f - d*e))), x] - Dist[(a*d*f*(n + p + 2) - b*(d*e*(n + 1
) + c*f*(p + 1)))/(f*(p + 1)*(c*f - d*e)), Int[(c + d*x)^n*(e + f*x)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e,
f, n}, x] && LtQ[p, -1] && ( !LtQ[n, -1] || IntegerQ[p] ||  !(IntegerQ[n] ||  !(EqQ[e, 0] ||  !(EqQ[c, 0] || L
tQ[p, n]))))

Rule 3669

Int[((a_) + (b_.)*tan[(e_.) + (f_.)*(x_)])^(m_.)*((A_.) + (B_.)*tan[(e_.) + (f_.)*(x_)])*((c_) + (d_.)*tan[(e_
.) + (f_.)*(x_)])^(n_.), x_Symbol] :> Dist[a*(c/f), Subst[Int[(a + b*x)^(m - 1)*(c + d*x)^(n - 1)*(A + B*x), x
], x, Tan[e + f*x]], x] /; FreeQ[{a, b, c, d, e, f, A, B, m, n}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 + b^2, 0]

Rubi steps

\begin {align*} \int \frac {(a+i a \tan (e+f x))^{7/2} (A+B \tan (e+f x))}{(c-i c \tan (e+f x))^{13/2}} \, dx &=\frac {(a c) \text {Subst}\left (\int \frac {(a+i a x)^{5/2} (A+B x)}{(c-i c x)^{15/2}} \, dx,x,\tan (e+f x)\right )}{f}\\ &=-\frac {(i A+B) (a+i a \tan (e+f x))^{7/2}}{13 f (c-i c \tan (e+f x))^{13/2}}+\frac {(a (3 A+10 i B)) \text {Subst}\left (\int \frac {(a+i a x)^{5/2}}{(c-i c x)^{13/2}} \, dx,x,\tan (e+f x)\right )}{13 f}\\ &=-\frac {(i A+B) (a+i a \tan (e+f x))^{7/2}}{13 f (c-i c \tan (e+f x))^{13/2}}-\frac {(3 i A-10 B) (a+i a \tan (e+f x))^{7/2}}{143 c f (c-i c \tan (e+f x))^{11/2}}+\frac {(2 a (3 A+10 i B)) \text {Subst}\left (\int \frac {(a+i a x)^{5/2}}{(c-i c x)^{11/2}} \, dx,x,\tan (e+f x)\right )}{143 c f}\\ &=-\frac {(i A+B) (a+i a \tan (e+f x))^{7/2}}{13 f (c-i c \tan (e+f x))^{13/2}}-\frac {(3 i A-10 B) (a+i a \tan (e+f x))^{7/2}}{143 c f (c-i c \tan (e+f x))^{11/2}}-\frac {2 (3 i A-10 B) (a+i a \tan (e+f x))^{7/2}}{1287 c^2 f (c-i c \tan (e+f x))^{9/2}}+\frac {(2 a (3 A+10 i B)) \text {Subst}\left (\int \frac {(a+i a x)^{5/2}}{(c-i c x)^{9/2}} \, dx,x,\tan (e+f x)\right )}{1287 c^2 f}\\ &=-\frac {(i A+B) (a+i a \tan (e+f x))^{7/2}}{13 f (c-i c \tan (e+f x))^{13/2}}-\frac {(3 i A-10 B) (a+i a \tan (e+f x))^{7/2}}{143 c f (c-i c \tan (e+f x))^{11/2}}-\frac {2 (3 i A-10 B) (a+i a \tan (e+f x))^{7/2}}{1287 c^2 f (c-i c \tan (e+f x))^{9/2}}-\frac {2 (3 i A-10 B) (a+i a \tan (e+f x))^{7/2}}{9009 c^3 f (c-i c \tan (e+f x))^{7/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Both result and optimal contain complex but leaf count is larger than twice the leaf count of optimal. \(495\) vs. \(2(208)=416\).
time = 14.52, size = 495, normalized size = 2.38 \begin {gather*} \frac {\cos ^4(e+f x) \left ((-i A+B) \cos (6 f x) \left (\frac {\cos (3 e)}{112 c^7}+\frac {i \sin (3 e)}{112 c^7}\right )+(-15 i A+8 B) \cos (8 f x) \left (\frac {\cos (5 e)}{504 c^7}+\frac {i \sin (5 e)}{504 c^7}\right )+(-30 i A+B) \cos (10 f x) \left (\frac {\cos (7 e)}{792 c^7}+\frac {i \sin (7 e)}{792 c^7}\right )+(25 A-12 i B) \cos (12 f x) \left (-\frac {i \cos (9 e)}{1144 c^7}+\frac {\sin (9 e)}{1144 c^7}\right )+(A-i B) \cos (14 f x) \left (-\frac {i \cos (11 e)}{208 c^7}+\frac {\sin (11 e)}{208 c^7}\right )+(A+i B) \left (\frac {\cos (3 e)}{112 c^7}+\frac {i \sin (3 e)}{112 c^7}\right ) \sin (6 f x)+(15 A+8 i B) \left (\frac {\cos (5 e)}{504 c^7}+\frac {i \sin (5 e)}{504 c^7}\right ) \sin (8 f x)+(30 A+i B) \left (\frac {\cos (7 e)}{792 c^7}+\frac {i \sin (7 e)}{792 c^7}\right ) \sin (10 f x)+(25 A-12 i B) \left (\frac {\cos (9 e)}{1144 c^7}+\frac {i \sin (9 e)}{1144 c^7}\right ) \sin (12 f x)+(A-i B) \left (\frac {\cos (11 e)}{208 c^7}+\frac {i \sin (11 e)}{208 c^7}\right ) \sin (14 f x)\right ) \sqrt {\sec (e+f x) (c \cos (e+f x)-i c \sin (e+f x))} (a+i a \tan (e+f x))^{7/2} (A+B \tan (e+f x))}{f (\cos (f x)+i \sin (f x))^3 (A \cos (e+f x)+B \sin (e+f x))} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((a + I*a*Tan[e + f*x])^(7/2)*(A + B*Tan[e + f*x]))/(c - I*c*Tan[e + f*x])^(13/2),x]

[Out]

(Cos[e + f*x]^4*(((-I)*A + B)*Cos[6*f*x]*(Cos[3*e]/(112*c^7) + ((I/112)*Sin[3*e])/c^7) + ((-15*I)*A + 8*B)*Cos
[8*f*x]*(Cos[5*e]/(504*c^7) + ((I/504)*Sin[5*e])/c^7) + ((-30*I)*A + B)*Cos[10*f*x]*(Cos[7*e]/(792*c^7) + ((I/
792)*Sin[7*e])/c^7) + (25*A - (12*I)*B)*Cos[12*f*x]*(((-1/1144*I)*Cos[9*e])/c^7 + Sin[9*e]/(1144*c^7)) + (A -
I*B)*Cos[14*f*x]*(((-1/208*I)*Cos[11*e])/c^7 + Sin[11*e]/(208*c^7)) + (A + I*B)*(Cos[3*e]/(112*c^7) + ((I/112)
*Sin[3*e])/c^7)*Sin[6*f*x] + (15*A + (8*I)*B)*(Cos[5*e]/(504*c^7) + ((I/504)*Sin[5*e])/c^7)*Sin[8*f*x] + (30*A
 + I*B)*(Cos[7*e]/(792*c^7) + ((I/792)*Sin[7*e])/c^7)*Sin[10*f*x] + (25*A - (12*I)*B)*(Cos[9*e]/(1144*c^7) + (
(I/1144)*Sin[9*e])/c^7)*Sin[12*f*x] + (A - I*B)*(Cos[11*e]/(208*c^7) + ((I/208)*Sin[11*e])/c^7)*Sin[14*f*x])*S
qrt[Sec[e + f*x]*(c*Cos[e + f*x] - I*c*Sin[e + f*x])]*(a + I*a*Tan[e + f*x])^(7/2)*(A + B*Tan[e + f*x]))/(f*(C
os[f*x] + I*Sin[f*x])^3*(A*Cos[e + f*x] + B*Sin[e + f*x]))

________________________________________________________________________________________

Maple [A]
time = 0.46, size = 184, normalized size = 0.88

method result size
risch \(-\frac {a^{3} \sqrt {\frac {a \,{\mathrm e}^{2 i \left (f x +e \right )}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, \left (693 i A \,{\mathrm e}^{12 i \left (f x +e \right )}+693 B \,{\mathrm e}^{12 i \left (f x +e \right )}+2457 i A \,{\mathrm e}^{10 i \left (f x +e \right )}+819 B \,{\mathrm e}^{10 i \left (f x +e \right )}+3003 i A \,{\mathrm e}^{8 i \left (f x +e \right )}-1001 B \,{\mathrm e}^{8 i \left (f x +e \right )}+1287 i A \,{\mathrm e}^{6 i \left (f x +e \right )}-1287 B \,{\mathrm e}^{6 i \left (f x +e \right )}\right )}{72072 c^{6} \sqrt {\frac {c}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, f}\) \(156\)
derivativedivides \(\frac {i \sqrt {a \left (1+i \tan \left (f x +e \right )\right )}\, \sqrt {-c \left (i \tan \left (f x +e \right )-1\right )}\, a^{3} \left (1+\tan ^{2}\left (f x +e \right )\right ) \left (6 i A \left (\tan ^{5}\left (f x +e \right )\right )-160 i B \left (\tan ^{4}\left (f x +e \right )\right )-20 B \left (\tan ^{5}\left (f x +e \right )\right )-177 i A \left (\tan ^{3}\left (f x +e \right )\right )-48 A \left (\tan ^{4}\left (f x +e \right )\right )-1643 i B \left (\tan ^{2}\left (f x +e \right )\right )+590 B \left (\tan ^{3}\left (f x +e \right )\right )-1569 i A \tan \left (f x +e \right )+408 A \left (\tan ^{2}\left (f x +e \right )\right )-97 i B -776 B \tan \left (f x +e \right )-930 A \right )}{9009 f \,c^{7} \left (i+\tan \left (f x +e \right )\right )^{8}}\) \(184\)
default \(\frac {i \sqrt {a \left (1+i \tan \left (f x +e \right )\right )}\, \sqrt {-c \left (i \tan \left (f x +e \right )-1\right )}\, a^{3} \left (1+\tan ^{2}\left (f x +e \right )\right ) \left (6 i A \left (\tan ^{5}\left (f x +e \right )\right )-160 i B \left (\tan ^{4}\left (f x +e \right )\right )-20 B \left (\tan ^{5}\left (f x +e \right )\right )-177 i A \left (\tan ^{3}\left (f x +e \right )\right )-48 A \left (\tan ^{4}\left (f x +e \right )\right )-1643 i B \left (\tan ^{2}\left (f x +e \right )\right )+590 B \left (\tan ^{3}\left (f x +e \right )\right )-1569 i A \tan \left (f x +e \right )+408 A \left (\tan ^{2}\left (f x +e \right )\right )-97 i B -776 B \tan \left (f x +e \right )-930 A \right )}{9009 f \,c^{7} \left (i+\tan \left (f x +e \right )\right )^{8}}\) \(184\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+I*a*tan(f*x+e))^(7/2)*(A+B*tan(f*x+e))/(c-I*c*tan(f*x+e))^(13/2),x,method=_RETURNVERBOSE)

[Out]

1/9009*I/f*(a*(1+I*tan(f*x+e)))^(1/2)*(-c*(I*tan(f*x+e)-1))^(1/2)*a^3/c^7*(1+tan(f*x+e)^2)*(6*I*A*tan(f*x+e)^5
-160*I*B*tan(f*x+e)^4-20*B*tan(f*x+e)^5-177*I*A*tan(f*x+e)^3-48*A*tan(f*x+e)^4-1643*I*B*tan(f*x+e)^2+590*B*tan
(f*x+e)^3-1569*I*A*tan(f*x+e)+408*A*tan(f*x+e)^2-97*I*B-776*B*tan(f*x+e)-930*A)/(I+tan(f*x+e))^8

________________________________________________________________________________________

Maxima [A]
time = 0.67, size = 292, normalized size = 1.40 \begin {gather*} \frac {{\left (693 \, {\left (-i \, A - B\right )} a^{3} \cos \left (\frac {13}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right ) + 819 \, {\left (-3 i \, A - B\right )} a^{3} \cos \left (\frac {11}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right ) + 1001 \, {\left (-3 i \, A + B\right )} a^{3} \cos \left (\frac {9}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right ) + 1287 \, {\left (-i \, A + B\right )} a^{3} \cos \left (\frac {7}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right ) + 693 \, {\left (A - i \, B\right )} a^{3} \sin \left (\frac {13}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right ) + 819 \, {\left (3 \, A - i \, B\right )} a^{3} \sin \left (\frac {11}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right ) + 1001 \, {\left (3 \, A + i \, B\right )} a^{3} \sin \left (\frac {9}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right ) + 1287 \, {\left (A + i \, B\right )} a^{3} \sin \left (\frac {7}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right )\right )} \sqrt {a}}{72072 \, c^{\frac {13}{2}} f} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+I*a*tan(f*x+e))^(7/2)*(A+B*tan(f*x+e))/(c-I*c*tan(f*x+e))^(13/2),x, algorithm="maxima")

[Out]

1/72072*(693*(-I*A - B)*a^3*cos(13/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 819*(-3*I*A - B)*a^3*cos(1
1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 1001*(-3*I*A + B)*a^3*cos(9/2*arctan2(sin(2*f*x + 2*e), cos
(2*f*x + 2*e))) + 1287*(-I*A + B)*a^3*cos(7/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 693*(A - I*B)*a^3
*sin(13/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 819*(3*A - I*B)*a^3*sin(11/2*arctan2(sin(2*f*x + 2*e)
, cos(2*f*x + 2*e))) + 1001*(3*A + I*B)*a^3*sin(9/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 1287*(A + I
*B)*a^3*sin(7/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))*sqrt(a)/(c^(13/2)*f)

________________________________________________________________________________________

Fricas [A]
time = 3.79, size = 153, normalized size = 0.74 \begin {gather*} -\frac {{\left (693 \, {\left (i \, A + B\right )} a^{3} e^{\left (15 i \, f x + 15 i \, e\right )} + 126 \, {\left (25 i \, A + 12 \, B\right )} a^{3} e^{\left (13 i \, f x + 13 i \, e\right )} + 182 \, {\left (30 i \, A - B\right )} a^{3} e^{\left (11 i \, f x + 11 i \, e\right )} + 286 \, {\left (15 i \, A - 8 \, B\right )} a^{3} e^{\left (9 i \, f x + 9 i \, e\right )} + 1287 \, {\left (i \, A - B\right )} a^{3} e^{\left (7 i \, f x + 7 i \, e\right )}\right )} \sqrt {\frac {a}{e^{\left (2 i \, f x + 2 i \, e\right )} + 1}} \sqrt {\frac {c}{e^{\left (2 i \, f x + 2 i \, e\right )} + 1}}}{72072 \, c^{7} f} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+I*a*tan(f*x+e))^(7/2)*(A+B*tan(f*x+e))/(c-I*c*tan(f*x+e))^(13/2),x, algorithm="fricas")

[Out]

-1/72072*(693*(I*A + B)*a^3*e^(15*I*f*x + 15*I*e) + 126*(25*I*A + 12*B)*a^3*e^(13*I*f*x + 13*I*e) + 182*(30*I*
A - B)*a^3*e^(11*I*f*x + 11*I*e) + 286*(15*I*A - 8*B)*a^3*e^(9*I*f*x + 9*I*e) + 1287*(I*A - B)*a^3*e^(7*I*f*x
+ 7*I*e))*sqrt(a/(e^(2*I*f*x + 2*I*e) + 1))*sqrt(c/(e^(2*I*f*x + 2*I*e) + 1))/(c^7*f)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+I*a*tan(f*x+e))**(7/2)*(A+B*tan(f*x+e))/(c-I*c*tan(f*x+e))**(13/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+I*a*tan(f*x+e))^(7/2)*(A+B*tan(f*x+e))/(c-I*c*tan(f*x+e))^(13/2),x, algorithm="giac")

[Out]

integrate((B*tan(f*x + e) + A)*(I*a*tan(f*x + e) + a)^(7/2)/(-I*c*tan(f*x + e) + c)^(13/2), x)

________________________________________________________________________________________

Mupad [B]
time = 13.49, size = 167, normalized size = 0.80 \begin {gather*} -\frac {\sqrt {a+\frac {a\,\sin \left (e+f\,x\right )\,1{}\mathrm {i}}{\cos \left (e+f\,x\right )}}\,\left (\frac {a^3\,{\mathrm {e}}^{e\,8{}\mathrm {i}+f\,x\,8{}\mathrm {i}}\,\left (3\,A+B\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{72\,c^6\,f}+\frac {a^3\,{\mathrm {e}}^{e\,10{}\mathrm {i}+f\,x\,10{}\mathrm {i}}\,\left (3\,A-B\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{88\,c^6\,f}+\frac {a^3\,{\mathrm {e}}^{e\,6{}\mathrm {i}+f\,x\,6{}\mathrm {i}}\,\left (A+B\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{56\,c^6\,f}+\frac {a^3\,{\mathrm {e}}^{e\,12{}\mathrm {i}+f\,x\,12{}\mathrm {i}}\,\left (A-B\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{104\,c^6\,f}\right )}{\sqrt {c-\frac {c\,\sin \left (e+f\,x\right )\,1{}\mathrm {i}}{\cos \left (e+f\,x\right )}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((A + B*tan(e + f*x))*(a + a*tan(e + f*x)*1i)^(7/2))/(c - c*tan(e + f*x)*1i)^(13/2),x)

[Out]

-((a + (a*sin(e + f*x)*1i)/cos(e + f*x))^(1/2)*((a^3*exp(e*8i + f*x*8i)*(3*A + B*1i)*1i)/(72*c^6*f) + (a^3*exp
(e*10i + f*x*10i)*(3*A - B*1i)*1i)/(88*c^6*f) + (a^3*exp(e*6i + f*x*6i)*(A + B*1i)*1i)/(56*c^6*f) + (a^3*exp(e
*12i + f*x*12i)*(A - B*1i)*1i)/(104*c^6*f)))/(c - (c*sin(e + f*x)*1i)/cos(e + f*x))^(1/2)

________________________________________________________________________________________